<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>招兵买马</title>
  <link rel="stylesheet" href="__PUBLIC__/script/jquery-weui/dist/lib/weui.min.css">
  <link rel="stylesheet" href="__PUBLIC__/script/jquery-weui/dist/css/jquery-weui.min.css">
  <link rel="stylesheet" href="__PUBLIC__/styles/base.css">
  <link rel="stylesheet" href="__PUBLIC__/styles/logo_qr.css">
  <script src="https://cdn.jsdelivr.net/npm/babel-polyfill/dist/polyfill.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery"></script>
  <script src="__PUBLIC__/script/common.js" common-data-1="{:U('Mix/dest')}"></script>
  <script src="__PUBLIC__/script/jquery-weui/dist/js/jquery-weui.min.js"></script>
</head>
<body>
  <div style="display: none;">
    <input type="hidden" name="盗链图片" id='ajax_curl_img' value="{:U('Home/Index/ajax_curl_img')}">
  </div>
  <div class="container" style="padding-top: 0;margin-bottom: -3em;">
    <header style="height: 15vh;line-height:50px;text-align:center;position:relative;">
        <div class="big_icon back" style="
            position: absolute;
            top: 8px;
            left: 5px;
            width: 30px;
            height: 30px;
            opacity:0;
        "><img src="__PUBLIC__/res/u148.png" alt="u148" style="
            max-width: 100%;
            max-height: 100%;
            transform: rotate(180deg);
        "></div>
        <img id='my_logo' src="" alt="" style='width:30px;height:30px;margin-bottom:-11px;'>
        <span id='js-my_name' style="font-size: 13px;">{$Think.session.user.web_name}邀请你加入</span>
        <div class="big_icon js-download" style="position:absolute;right:5px;top:5px;height:20px;width:20px;opacity:0;">
          <img style='width:100%;height:100%;' src="__PUBLIC__/res/u339.png" alt="u339">
        </div>
    </header>
    <div class="logo js-zizhanghao">
        <img src="__ROOT__/{$Think.session.user.web_id|get_user_f_logo}" alt="logo" style='max-height:50px;max-width:50px;'>
        <div class="js-zizhanghao_name" style='line-height:2;'>{$Think.session.user.p_u_id|get_web_f_mesage}</div>
        <div class="js-zizhanghao_present" style='line-height:2;'><if condition='$yjpre'>提成{$yjpre}<else/>提成未设置默认100%</if></div>
    </div>
    <div class="qr js-my_qr">
      <img src="{$msg}" >
    </div>
    <div class="qr_mess">
      <p>邀请码</p>
      <p class="js-my_invent_code">
      <?php
        echo $_SESSION['user']['web_id']+5000;
      ?>
      </p>
    </div>
  </div>
  <p id='inori_bottom_msg_alt'>抱团做贷款更赚钱</p>
  <div class="bottomMess"><span><span class="blue">评估令</span>提供技术支持</span></div>

  <div style="display:none;">
    <div id="testCanvas">
      <canvas id="inori_canvas" width="375" height="667"></canvas>
    </div>
  </div>
  <div style="display:none;">
    <img src="__should_replaced" alt="保存" id='js-touch_me_2_save'>
  </div>
  <script src="__PUBLIC__/script/fabricjs/dist/fabric.min.js" defer></script>
  <script src="__PUBLIC__/script/fabricjs/init.js?v=1.0.0" defer></script>

    <script>
      $(document).ready(() => {
        const myURL = sessionStorage.getItem('my_logo')
        if (myURL !== 'null') {
          $('#my_logo').attr('src', myURL)
        }
        // 返回上一页
        $('.big_icon.back').on('click', (evt) => {
          location.href = `{:U("Wchat/main")}`
        })
      })

    </script>
</body>
</html>